package com.megalith.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description
 * @Author lfp
 * @Date 2022/7/15
 * @Version 1.0
 */
@Data
@ApiModel(value = "ActivityRebackDTO",description = "流程回退DTO")
public class ActivityRebackDTO {
    @ApiModelProperty(value = "流程实例Id",required = true)
    @NotBlank(message = "processInstanceId不能为空")
    private String processInstanceId;

    @ApiModelProperty(value = "当前活动定义key",required = true)
    @NotBlank(message = "currentActivityId不能为空")
    private String currentActivityId;

    @ApiModelProperty(value = "目标活动定义key",required = true)
    @NotBlank(message = "newActivityId不能为空")
    private String newActivityId;
}
